package com.bwie.state;

/**
 * @author 军哥
 * @version 1.0
 * @description: 用户角色的枚举
 * @date 2024/10/22 15:05
 */


public enum UserRoleEnum {
    USER(1, "管理员"),
    SHOP(2, "商家"),
    ADMIN(3, "普通用户");
    private Integer code;
    private String msg;
    UserRoleEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    public Integer getCode() {
        return code;
    }
    public void setCode(Integer code) {
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }
}
